﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibraryLab3
{
    public class LightAircrafts : LightAircraft
    {
        private string _name;
        private string _maneuverability;
        private string _power;
        private decimal _light;
        private decimal _speed;
        private decimal _structure;
        private decimal _size;

        public LightAircrafts() : this(null) { }
        public LightAircrafts(string _name) : this(_name, 0) { }
        public LightAircrafts(string _name, decimal _structure) : this(_name, _structure, 0) { }
        public LightAircrafts(string _name, decimal _structure, decimal _size) : this(_name, _structure, _size, null) { }
        public LightAircrafts(string _name, decimal _structure, decimal _size, string _maneuverability) : this(_name, _structure, _size, _maneuverability, null) { }
        public LightAircrafts(string _name, decimal _structure, decimal _size, string _maneuverability, string _power) : this(_name, _structure, _size, _maneuverability, _power, 0) { }
        public LightAircrafts(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, decimal _light) : this(_name, _structure, _size, _maneuverability, _power, _light, 0) { }
        public LightAircrafts(string _name, decimal _structure, decimal _size, string _maneuverability, string _power, decimal _light, decimal _speed)    
        {

            this._name = _name;
            this._structure = _structure;
            this._size = _size;
            this._maneuverability = _maneuverability;
            this._power = _power;
            this._light = _light;
            this._speed = _speed;
        }

        public override string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public override decimal Structure
        {
            get { return _structure; }
            set { _structure = value; }
        }

        public override decimal Size
        {
            get { return _size; }
            set { _size = value; }
        }
        public override string Maneuverability
        {
            get { return _maneuverability; }
            set { _maneuverability = value; }
        }
        public override string Power
        {
            get { return _power; }
            set { _power = value; }
        }
        public override decimal Light
        {
            get { return _light; }
            set { _light = value; }
        }
        public override decimal Speed
        {
            get { return _speed; }
            set { _speed = value; }
        }

    }
}
